package roguelike.screens;

import java.awt.event.KeyEvent;
import asciiPanel.AsciiPanel;
import roguelike.Tile;

public class StartScreen implements Screen
{
    private Tile[][][] tiles;
    
    @Override
    public void displayOutput(AsciiPanel terminal)
    {
        terminal.writeCenter("The TehMarzVolta Chronicles", 1);
        // Header();
        terminal.write("Programmed by Lee Martin", 1, 20);
        terminal.writeCenter("--- press [Enter] to start ---", 22);
    }
    
    /* public void Header()
    {
        for(int x = 1; x < 20; x++)
            tiles[x][3][1] = Tile.WALL;
    } */
    
    @Override
    public Screen respondToUserInput(KeyEvent key)
    {
        return key.getKeyCode() == KeyEvent.VK_ENTER ? new PlayScreen() : this;
    }
}
